﻿@model StudentsBaseClass.Models.Bucket
@{
    ViewBag.Title = "ListView";
}

<h2>ListView</h2>
<table>
    <tr>
        <th></th>
        @foreach (var boy in Model.boys)
        {

            <td>
                @boy.Name
            </td>
            <td>@boy.ID</td>
            <td>@boy.Hobby</td>
            <td></td>
        }

    </tr>
    <tr>
        @foreach (var girl in Model.girls)
        {
            <td></td>
            <td>
                @girl.Name
            </td>
            <td>@girl.ID</td>
            <td>@girl.Activity</td>
        }
    </tr>
</table>
